package com.atguigu.mybatis.dao;

import com.atguigu.bean.Employee;

import java.util.List;

/**
 * @author leimingchao
 * @create 2020-10-09 21:32
 */
public interface EmployeeMapper {

    /**
     * 根据id查询员工
     * @param id
     * @return
     */
    Employee getEmpById(Integer id);

    List<Employee> getEmployees();
}
